<template>
	<view class="page-con pd10">
		<detailCard :item="cateringInfo" title="餐厅名称"  type="catering"/>
	</view>
</template>

<script setup>
	import {
		ref,
		computed,
		onMounted,
		reactive,
		nextTick
	} from 'vue';
	import {
		onLoad,
		onShow
	} from '@dcloudio/uni-app';
	import detailCard from "@/components/detailCard.vue";
	const cateringInfo = reactive({
		imgUrl: '/static/images/autumn.jpg',
		title: '伊清兰州牛肉拉面',
		isMark: true,
		subTitle: '长安区国家民用航天产业基地飞天路智慧谷2号楼商业10106号',
		desc:'网友推荐牛肉烩面',
		distance: ''
	});
	// 加载后就获取
	onLoad(async (query) => {
		console.log('query', query);
		const {
			eid
		} = query;
		if (eid) {
			
		};
		uni.setNavigationBarTitle({
			title: cateringInfo.title
		})
	});
	
</script>

<style>

</style>
